﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace BCDto.OA.Notification.NotificationCategory
{
    /// <summary>
    /// 通知分类
    /// </summary>
    public class NotificationCategoryRequestDto
    {
        /// <summary>
        /// 通知分类编码
        /// </summary>
        [Display(Name ="通知分类编码")]
        [StringLength(50, MinimumLength = 5, ErrorMessage = "{0} 长度应大于5个字符小于50个字符")]
        public string NotificationCategoryCode { get; set; }
        /// <summary>
        /// 通知分类名称
        /// </summary>		
        [Display(Name = "通知分类名称")]
        [StringLength(30, MinimumLength = 5, ErrorMessage = "{0} 长度应大于5个字符小于30个字符")]
        public string NotificationCategoryName { get; set; }
    }
}
